package cn.blog.entity.origin;
/**
 * 用户实体类
 * @author 江明
 * @time 2018年3月11日
 * @function
 */

import java.sql.Date;

public class User {
	private Integer userId;//用户编号
	private String userAccount;//用户账号
	private String password;//用户密码
	private String name;//用户姓名
	private String image;//用户头像
	private Integer sex;//用户性别 0男 1女
	private String phone;//用户电话
	private String qq;//用户qq号
	private String email;//用户邮箱
	private String userClass;//用户类型 博主/用户
	private Date userRegTime;//用户注册时间
	private Integer state;//用户状态 0正常/1拉黑
	/**
	 * 无参构造
	 */
	public User() {
		super();
	}
	/**
	 * 有参构造
	 * @param userId	用户编号
	 * @param userAccount	用户账号
	 * @param password	用户密码
	 * @param name	用户姓名
	 * @param image	用户头像
	 * @param sex	用户性别	0男 1女
	 * @param phone	用户电话
	 * @param qq	用户qq号
	 * @param email	用户邮箱
	 * @param userClass	用户类型 博主/用户
	 * @param userRegTime	用户注册时间
	 * @param state	用户状态 0正常/1拉黑
	 */
	public User(Integer userId, String userAccount, String password, String name, String image, Integer sex,
			String phone, String qq, String email, String userClass, Date userRegTime, Integer state) {
		super();
		this.userId = userId;
		this.userAccount = userAccount;
		this.password = password;
		this.name = name;
		this.image = image;
		this.sex = sex;
		this.phone = phone;
		this.qq = qq;
		this.email = email;
		this.userClass = userClass;
		this.userRegTime = userRegTime;
		this.state = state;
	}
	public Integer getUserId() {
		return userId;
	}
	public void setUserId(Integer userId) {
		this.userId = userId;
	}
	public String getUserAccount() {
		return userAccount;
	}
	public void setUserAccount(String userAccount) {
		this.userAccount = userAccount;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getImage() {
		return image;
	}
	public void setImage(String image) {
		this.image = image;
	}
	public Integer getSex() {
		return sex;
	}
	public void setSex(Integer sex) {
		this.sex = sex;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public String getQq() {
		return qq;
	}
	public void setQq(String qq) {
		this.qq = qq;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getUserClass() {
		return userClass;
	}
	public void setUserClass(String userClass) {
		this.userClass = userClass;
	}
	public Date getUserRegTime() {
		return userRegTime;
	}
	public void setUserRegTime(Date userRegTime) {
		this.userRegTime = userRegTime;
	}
	public Integer getState() {
		return state;
	}
	public void setState(Integer state) {
		this.state = state;
	}
	
	
	
	
}
